﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EF_基础1.Models
{
    /// <summary>
    /// 鸽主
    /// </summary>
    public class PigeonOwner:BaseEntity
    {
        /// <summary>
        /// 鸽主名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 所在城市
        /// </summary>
        public string City { get; set; }

        /// <summary>
        /// 所拥有的鸽子
        /// </summary>
        public List<Pigeon> Pigeons { get; set; } = new List<Pigeon>();
    }
}
